import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: "/",
    name: "HomeRecommend",
    component: () => import("@/views/HomeRecommend"),
    meta: {
      showNav: true
    }
  },
  {
    path: "/hot",
    name: "HomeHot",
    component: () => import("@/views/HomeHot"),
    meta: {
      showNav: true
    }
  },
  {
    path: "/search",
    name: "HomeSearch",
    component: () => import("@/views/HomeSearch"),
    meta: {
      showNav: true
    }
  },
  {
    path: "/play",
    name: "play",
    component: () => import("@/components-views/PlayList.vue")
  }
]

const router = new VueRouter({
  routes
})

export default router
